NuclearEngagement\Services\CircuitBreakerService S

Total Complexity 34
Dependencies 1
Dependents 4
Total lines 308
Lines of code 168
Logical lines of code 80
Comment lines 67
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
cleanup()
A
49 9 30
get_all_statuses()
S
49 5 31
record_success()
S
59 4 14
record_failure()
S
59 4 14
is_open()
S
62 3 11
get_state()
S
53 1 25
open_circuit()
S
58 1 17
init()
S
70 2 6
set_state()
S
66 2 8
update_state()
S
74 1 4
reset()
S
72 1 5
deactivate()
S
80 1 3